package wiz.client.ui.viewimpl;

import com.google.gwt.dom.client.SpanElement;
import com.google.gwt.user.client.ui.HasText;

public class SpanHasText implements HasText {

	private SpanElement fSpan;

	public SpanHasText(SpanElement span) {
		fSpan = span;
	}

	@Override
	public String getText() {
		return fSpan.getInnerText();
	}

	@Override
	public void setText(String text) {
		fSpan.setInnerText(text);
	}

}
